#pragma once

#include "FxThread.h"

class CStreamSource;

class CStreamReceiver : public CFxThread
{
public:
	CStreamReceiver(void);
	~CStreamReceiver(void);

public:
	virtual void Run(void* This) = 0;

public:
	int		m_int_stream_id;
	int		m_int_stream_input_type;	// web-cam, ip camera, screen capture, video source, etc

public:
	CStreamSource* m_ptr_stream_source;
	void SetSource(CStreamSource* source) {m_ptr_stream_source = source;};
};

